package com.cn.lyl.service;

import com.cn.lyl.model.NewsModel;

import java.util.List;

public interface NewsService {

    List<NewsModel> findAllNews(NewsModel newsModel);

    int getCount(NewsModel newsModel);

    String addNews(NewsModel newsModel);

    String deleteNews(NewsModel newsModel);

    NewsModel findInfo(int id);

    String changeInfo(NewsModel newsModel);

    String changeHomeState(NewsModel newsModel);
}
